/**
 * 导入mockjs库
 * 导入模拟接口数据
 */
import Mock from 'mockjs'
import data from './data.json'
/**
 * 注册api接口一级对应的返回数据
 */
Mock.mock('/api/goods', {
  code: 0,
  data: data.goods
})
Mock.mock('/api/ratings', {
  code: 0,
  data: data.ratings
})
Mock.mock('/api/seller', {
  code: 0,
  data: data.seller
})
